package com.s07.e01;

import java.util.ArrayList;
import java.util.Collection;

import com.s07.e01.model.GoldUser;
import com.s07.e01.model.StandardUser;
import com.s07.e01.model.User;
import com.s07.e01.utils.UserUtils;

public class MyInheritance {

	public static void main(String[] args) {

		Collection<User> users = new ArrayList<>();
		
		users.add(new StandardUser(1l, "Jan", "Poziomka"));
		users.add(new StandardUser(2l, "Roman", "Kosecki"));
		users.add(new GoldUser(3l, "Adam", "Niezgodka"));
		
		UserUtils.listUsers(users);
		
	}
}
